/**
 */
package wcomm_v1;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Port Definition</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link wcomm_v1.PortDefinition#getRole <em>Role</em>}</li>
 *   <li>{@link wcomm_v1.PortDefinition#getOutMsgs <em>Out Msgs</em>}</li>
 *   <li>{@link wcomm_v1.PortDefinition#getInMsgs <em>In Msgs</em>}</li>
 * </ul>
 * </p>
 *
 * @see wcomm_v1.Wcomm_v1Package#getPortDefinition()
 * @model
 * @generated
 */
public interface PortDefinition extends NamedElement
{
  /**
   * Returns the value of the '<em><b>Role</b></em>' reference.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Role</em>' reference isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Role</em>' reference.
   * @see #setRole(EndPoint)
   * @see wcomm_v1.Wcomm_v1Package#getPortDefinition_Role()
   * @model required="true"
   * @generated
   */
  EndPoint getRole();

  /**
   * Sets the value of the '{@link wcomm_v1.PortDefinition#getRole <em>Role</em>}' reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Role</em>' reference.
   * @see #getRole()
   * @generated
   */
  void setRole(EndPoint value);

  /**
   * Returns the value of the '<em><b>Out Msgs</b></em>' containment reference list.
   * The list contents are of type {@link wcomm_v1.OutMessage}.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Out Msgs</em>' containment reference list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Out Msgs</em>' containment reference list.
   * @see wcomm_v1.Wcomm_v1Package#getPortDefinition_OutMsgs()
   * @model containment="true"
   * @generated
   */
  EList<OutMessage> getOutMsgs();

  /**
   * Returns the value of the '<em><b>In Msgs</b></em>' containment reference list.
   * The list contents are of type {@link wcomm_v1.InMessage}.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>In Msgs</em>' containment reference list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>In Msgs</em>' containment reference list.
   * @see wcomm_v1.Wcomm_v1Package#getPortDefinition_InMsgs()
   * @model containment="true"
   * @generated
   */
  EList<InMessage> getInMsgs();

} // PortDefinition
